{% extends 'base.html' %}
{% load static %}

{% block title %}
    发布博客
{% endblock %}

{% block head %}
    <script src="{% static 'wangEditor/index.js' %}"></script>
    <script src="{% static 'js/wangEditor.js' %}"></script>
    <link rel="stylesheet" href="{% static 'wangEditor/style.css' %}">
    <link rel="stylesheet" href="{% static 'css/wangEdiitor.css' %}">
{% endblock %}

{% block main %}
	<div class="d-flex justify-content-between">
        <h3>发布博客</h3>
        <button type="button" class="btn btn-outline-primary col-2 ">发布
        </button>
    </div>
    <hr>
    <div class="input-group flex-nowrap">
        <span class="input-group-text " id="addon-wrapping">标题</span>
        <input type="text" class="form-control" placeholder="文章标题"
               aria-label="Username" aria-describedby="addon-wrapping">
    </div>
    <div class="p-2">正文</div>
    <div id="editor—wrapper">
        <div id="toolbar-container"><!-- 工具栏 --></div>
        <div id="editor-container"><!-- 编辑器 --></div>
    </div>
{% endblock %}


